﻿using System.ComponentModel;
using ZeroSum.Attributes;
using ZeroSum.Plugin.Authorization.Datas.Aggregates.MenuAggregate;
using ZeroSumZSA.Core.Aggregates.RoleAggregate;

namespace ZeroSumZSA.Core.Aggregates.MenuAggregate;

/// <summary>
///     菜单表
/// </summary>
[Entity]
[Description("菜单表")]
public class Menu : MenuBase
{
    public virtual Menu? Parent { get; set; }

    public virtual ICollection<Role>? Roles { get; set; }
}